package org.ezplatform.office.meeting.notice.entity;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.ezplatform.component.iexp.export.annotation.ExportColumn;
import org.ezplatform.core.annotation.MetaData;
import org.ezplatform.core.entity.BaseCorpEntity;


/**
 * @ClassName: OaMeetingBaseSet
 * @Description: 会议基础设置实体类
 * @author: pa
 * @date 2018-03-02 10:29:33
 */
@MetaData("会议基础设置")
@Entity
@Table(name = "oa_meeting_notice_info")
public class NoticeInfo extends BaseCorpEntity {
    
	private static final long serialVersionUID = -1L;
	
	@MetaData(value = "姓名")
    @Transient
	@ExportColumn(name = "姓名", orderNo = 1, isExport = true, isImp = true)
	private String userName;
	
	@MetaData(value = "机构部门")
    @Transient
	@ExportColumn(name = "机构部门", orderNo = 2, isExport = true, isImp = true)
	private String org_name;
	
	@MetaData(value = "参会情况")
    @Transient
    @ExportColumn(name = "参会情况", orderNo = 3, isExport = true, isImp = true)
	private String statusStr;
	
	@MetaData(value = "签到情况")
    @Transient
	@ExportColumn(name = "签到情况", orderNo = 4, isExport = true, isImp = true)
	private String isSignedStr;
	
	@MetaData(value = "签到时间")
    @Transient
	@ExportColumn(name = "签到时间", orderNo = 5, isExport = true, isImp = true)
	private String signedTime;
	
	@MetaData(value = "签到定位")
    @Transient
	@ExportColumn(name = "签到定位", orderNo = 6, isExport = true, isImp = true)
	private String signed_address;
	
	
	/*
	 * 	2本人参会
		3本人请假
		4本人代参会邀请得到确认
		5代参会人确认参会
		6本人发出代参会邀请等待对方确认
		7代参会人收到代参通知
		8本人代参会邀请被拒绝
		9被邀请参会人收到邀请
	 */
	@MetaData("用户参会、请假、转交4、转交接受者5")
    @Column(name = "status")
    private int status;
    
    @MetaData("申请记录id")
    @Column(name = "apply_record_id")
    private String applyRecordId;
    
    @MetaData("0-审批通知、1-参会通知")
    @Column(name = "type")
    private int type;
    
    @MetaData("通知用户id")
    @Column(name = "notice_user_id")
    private String noticeUserId;

    @MetaData("请假原因")
    @Column(name = "reason")
    @ExportColumn(name = "不参会原因", orderNo = 7, isExport = true, isImp = true)
    private String reason;

    @MetaData("是否删除")
    @Column(name = "is_delete")
    private int isDelete;
    
    @MetaData("参会方式（1：现场参会，2：网络会议）")
    @Column(name = "attend_way")
    private int attendWay;
    
    @MetaData("邀请人")
    @Column(name = "inviter")
    private String inviter;
    
    @MetaData("代参会通知发起人id")
    @Column(name = "turnover_user_id")
    private String turnoverUserId;
    
    @MetaData("代参人id")
    @Column(name = "receive_user_id")
    private String receiveUserId;


    
    public String getStatusStr() {
		return statusStr;
	}

	public void setStatusStr(String statusStr) {
		this.statusStr = statusStr;
	}

	public String getIsSignedStr() {
		return isSignedStr;
	}

	public void setIsSignedStr(String isSignedStr) {
		this.isSignedStr = isSignedStr;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getOrg_name() {
		return org_name;
	}

	public void setOrg_name(String org_name) {
		this.org_name = org_name;
	}

	public String getSignedTime() {
		return signedTime;
	}

	public void setSignedTime(String signedTime) {
		this.signedTime = signedTime;
	}

	public String getSigned_address() {
		return signed_address;
	}

	public void setSigned_address(String signed_address) {
		this.signed_address = signed_address;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public int getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(int isDelete) {
        this.isDelete = isDelete;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getApplyRecordId() {
        return applyRecordId;
    }

    public void setApplyRecordId(String applyRecordId) {
        this.applyRecordId = applyRecordId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getNoticeUserId() {
        return noticeUserId;
    }

    public void setNoticeUserId(String noticeUserId) {
        this.noticeUserId = noticeUserId;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

	public int getAttendWay() {
		return attendWay;
	}

	public void setAttendWay(int attendWay) {
		this.attendWay = attendWay;
	}

	public String getInviter() {
		return inviter;
	}

	public void setInviter(String inviter) {
		this.inviter = inviter;
	}

	public String getTurnoverUserId() {
		return turnoverUserId;
	}

	public void setTurnoverUserId(String turnoverUserId) {
		this.turnoverUserId = turnoverUserId;
	}

	public String getReceiveUserId() {
		return receiveUserId;
	}

	public void setReceiveUserId(String receiveUserId) {
		this.receiveUserId = receiveUserId;
	}
	
}